package com.qf.kdgroup.gdbackend.mapper;

import com.qf.kdgroup.gdbackend.entity.Device;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeviceMapper {
    int deleteByPrimaryKey(Long did);

    int insert(Device record);

    int insertSelective(Device record);

    Device selectByPrimaryKey(Long did);

    int updateByPrimaryKeySelective(Device record);

    int updateByPrimaryKey(Device record);

    List<Device> selectList(Long wid, String keyword);
}